  body { margin: 0; overflow: hidden; }
  canvas { display: block; }

  /* Darkening the canvas */
  canvas {
    filter: brightness(80%) contrast(150%) saturate(150%); /* Darken by 10% */
    image-rendering: pixelated;
  }

  /* Styling for buttons */
  .button {
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
    color: rgb(0, 0, 0);
    border-radius: 5px;
    z-index: 10;
  }

  /* FBA Lunch Menu Styling */
  #menuToggle {
    position: absolute;
    top: 17px;
    left: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
    color: rgba(0, 0, 0,0.8);
    padding: 10px;
    border-radius: 100%; /* Round button */
    z-index: 10;
    transition: background-color 0.3s ease;
    font-size: 20px;
    
  }
  #menuToggle:hover {
    background-color: rgba(10, 151, 183, 0.8);
  }
  .button:hover{
    background-color: rgba(10, 151, 183, 0.8);

  }
  #lunchMenu {
    position: absolute;
    top: 18px; /* Adjust as needed */
    left: 80px; /* Align with menu toggle */
    /* background-color: rgba(0, 0, 0, 0.6);  */
    color: white;
    /* padding: 20px; */
    /* border-radius: 10px;  */
    transform: scale(0); /* Start with hidden state */
    transition: transform 0.3s ease;
    z-index: 10;
  }
  #lunchMenu.show {
    transform: scale(1); /* Show with animation */
  }
  #lunchMenu .menu-item {
    margin-bottom: 10px;
    font-size: 18px;
  }

  #searchPopup {
  display: none; /* Hide the search popup initially */
  /* Other styling properties */
}

#photoLabel {
  position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
    color: white;
    background-color: rgba(30, 38, 40, 0.1);
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.3);
}
  /* Media queries for responsiveness */
  @media (max-width: 768px) {
    .button {
        font-size: 25px; /* Double the font size */
        padding: 15px; /* Double the padding */
        margin-bottom: 15px; /* Increase spacing between buttons */
    }
    #lunchMenu .menu-item {
        font-size: 25px; /* Increase font size for menu items */
    }
    #menuToggle {
        font-size: 25px; /* Increase the size of the toggle button */
        padding: 15px; /* Increase padding */
        border-radius: 50%; /* Ensure the button remains circular */
    }
}

@media (max-width: 480px) {
    .button {
        font-size: 15px; /* Further increase the font size for smaller screens */
        padding: 5px; /* Increase padding */
    }
    #menuToggle {
        font-size: 25px; /* Further increase the toggle button size */
        padding: 15px; /* Increase padding */
    }
    #photoLabel {
        font-size: 15px; /* Increase font size for the scene label */
    }
}

.circle-nav {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    animation: pulse 2s infinite;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  }

  #circleNavBack {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
  }

  #circleNavForward {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.7;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .circle-nav:hover {
    background: rgba(10, 151, 183, 0.8);
    border-color: rgba(0, 0, 0, 0.8);
  }

  .circle-nav i {
    font-size: 24px;
    color: rgba(0, 0, 0, 0.7);
  }

  @media (max-width: 768px) {
    #circleNavBack, #circleNavForward {
      width: 50px;
      height: 50px;
    }

    #circleNavBack {
      left: 10px;
    }

    #circleNavForward {
      right: 10px;
    }
  }
  
  .thumbnail-panel {
    position: absolute;
    top: 60px;
    right: 0;
    width: 150px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.8);
    padding: 10px;
    border-left: 2px solid #fff;
    z-index: 9999;
  }

  .hidden {
    display: none;
  }

  #thumbnailPanel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5); /* Optional: adds a background behind the thumbs */
  z-index: 100;
}

.thumbnail {
  width: 80px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 4px;
}


.thumbnail:hover {
  border-color: #007bff;
}
